package com.oxymore.jbnetapi.core;

import java.util.Map;

public class ApiRequest {

    private ApiPath path;
    private ApiPage page;
    private String customPage;
    private Map<String, String> params;

    public String buildAuthorization() {
        return null;
    }

    public ApiRequest(ApiPath path, ApiPage page, Map<String, String> params) {
        this.path = path;
        this.page = page;
        this.params = params;
    }

    public ApiRequest(ApiPath path, ApiPage page, String customPage) {
        super();
        this.path = path;
        this.page = page;
        this.customPage = customPage;
    }

    public ApiRequest(ApiPath path, ApiPage page, String customPage,
            Map<String, String> params) {
        super();
        this.path = path;
        this.page = page;
        this.customPage = customPage;
        this.params = params;
    }

    public ApiRequest(ApiPath path, ApiPage page) {
        super();
        this.path = path;
        this.page = page;
    }

    public ApiPath getPath() {
        return path;
    }

    public ApiPage getPage() {
        return page;
    }

    public Map<String, String> getParams() {
        return params;
    }

    public String getCustomPage() {
        return customPage;
    }

    public void setCustomPage(String customPage) {
        this.customPage = customPage;
    }

    @Override
    public String toString() {
        return "ApiRequest [path=" + path + ", page=" + page + ", customPage="
                + customPage + ", params=" + params + "]";
    }
}
